using System;
using System.Collections.Generic;

namespace SvnLogStat
{
	public class SvnLogEntry
	{
		private List<SvnPath> _paths;

		public SvnLogEntry ()
		{
			_paths = new List<SvnPath> ();
		}

		public int Revision{ get; set; }

		public string Author{ get; set; }

		public DateTime Date{ get; set; }

		public SvnMessage Message{ get; set; }

		public List<SvnPath> Paths{ get { return _paths; } }

		public override string ToString ()
		{
			return string.Format ("[SvnLogEntry: Revision={0}, Author={1}, Date={2}, Message={3}, Paths={4}]", Revision, Author, Date, Message, Paths.Count);
		}
	}
}

